package com.iccct.customer.remote;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author iccct (taowutt1@gmail.com)
 * @since 2021-11-04  13:20
 */
@FeignClient(value = "PROVIDER")
@RequestMapping("provider")
public interface IProviderService {


    @GetMapping("/echo/{str}")
    String echo(@PathVariable("str") String str);

}
